home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / RIncludes / AEDataModel.r next >
Encoding:
Text File  |  1997-08-12  |  2.9 KB  |  95 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        AEDataModel.r
  3.  
  4.      Contains:    AppleEvent Data Model Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.0.1
  8.  
  9.      Copyright:    © 1996-1997 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. */
  18.  
  19. #ifndef __AEDATAMODEL_R__
  20. #define __AEDATAMODEL_R__
  21.  
  22. #ifndef __CONDITIONALMACROS_R__
  23. #include "ConditionalMacros.r"
  24. #endif
  25.  
  26. /* Apple event descriptor types */
  27. #define typeBoolean                     'bool'
  28. #define typeChar                         'TEXT'
  29.  
  30. /* Preferred numeric Apple event descriptor types */
  31. #define typeSInt16                         'shor'
  32. #define typeSInt32                         'long'
  33. #define typeUInt32                         'magn'
  34. #define typeSInt64                         'comp'
  35. #define typeIEEE32BitFloatingPoint         'sing'
  36. #define typeIEEE64BitFloatingPoint         'doub'
  37. #define type128BitFloatingPoint         'ldbl'
  38. #define typeDecimalStruct                 'decm'
  39.  
  40. /* Non-preferred Apple event descriptor types */
  41. #define typeSMInt                         'shor'
  42. #define typeShortInteger                 'shor'
  43. #define typeInteger                     'long'
  44. #define typeLongInteger                 'long'
  45. #define typeMagnitude                     'magn'
  46. #define typeComp                         'comp'
  47. #define typeSMFloat                     'sing'
  48. #define typeShortFloat                     'sing'
  49. #define typeFloat                         'doub'
  50. #define typeLongFloat                     'doub'
  51. #define typeExtended                     'exte'
  52.  
  53. /* More Apple event descriptor types */
  54. #define typeAEList                         'list'
  55. #define typeAERecord                     'reco'
  56. #define typeAppleEvent                     'aevt'
  57. #define typeEventRecord                 'evrc'
  58. #define typeTrue                         'true'
  59. #define typeFalse                         'fals'
  60. #define typeAlias                         'alis'
  61. #define typeEnumerated                     'enum'
  62. #define typeType                         'type'
  63. #define typeAppParameters                 'appa'
  64. #define typeProperty                     'prop'
  65. #define typeFSS                         'fss '
  66. #define typeKeyword                     'keyw'
  67. #define typeSectionH                     'sect'
  68. #define typeWildCard                     '****'
  69. #define typeApplSignature                 'sign'
  70. #define typeQDRectangle                 'qdrt'
  71. #define typeFixed                         'fixd'
  72. #define typeSessionID                     'ssid'
  73. #define typeTargetID                     'targ'
  74. #define typeProcessSerialNumber         'psn '
  75. #define typeKernelProcessID             'kpid'
  76. #define typeDispatcherID                 'dspt'
  77. #define typeNull                         'null'                /*  null or nonexistent data  */
  78.  
  79. /* Keywords for Apple event attributes */
  80. #define keyTransactionIDAttr             'tran'
  81. #define keyReturnIDAttr                 'rtid'
  82. #define keyEventClassAttr                 'evcl'
  83. #define keyEventIDAttr                     'evid'
  84. #define keyAddressAttr                     'addr'
  85. #define keyOptionalKeywordAttr             'optk'
  86. #define keyTimeoutAttr                     'timo'
  87. #define keyInteractLevelAttr             'inte'                /*  this attribute is read only - will be set in AESend  */
  88. #define keyEventSourceAttr                 'esrc'                /*  this attribute is read only  */
  89. #define keyMissedKeywordAttr             'miss'                /*  this attribute is read only  */
  90. #define keyOriginalAddressAttr             'from'                /*  new in 1.0.1  */
  91.  
  92.  
  93. #endif /* __AEDATAMODEL_R__ */
  94.  
  95.